package com.hao.crm.service;

import java.util.List;

import com.hao.crm.domain.Permission;
import com.hao.crm.page.PageResult;
import com.hao.crm.query.QueryObject;

public interface IPermissionService {
	int delete(Long id);

    int insert(Permission e);

    Permission get(Long id);

    List<Permission> selectAll();

    int update(Permission e);
    PageResult selectByCondition(QueryObject qo);

	PageResult selectByRid(Long rid);

	Permission selectByResouce(String function);

	List<Permission> selectByEid(Long id);

}
